home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 24
/
Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso
/
Aminet
/
dev
/
misc
/
vahunz.lha
/
vahunz
/
vahunz.readme
< prev
Wrap
Text File
|
1998-02-20
|
2KB
|
99 lines
TITLE
vahunz - Make source code un-/more readable.
VERSION
1.1
AUTHOR
Thomas Aglassinger <agi@giga.or.at>
DESCRIPTION
Vahunz is a CLI-based replace command that can supersede many words
across several files with only one invocation.
Normally the target words will be created randomly, turning
meaningful names into unreadable garbage. For example, a function
name like read_input_file() could be replaced by g7b() or something
as useless. Additionally, comments and indention can be removed.
As an option, you can specify certain substitutes, so Vahunz can
also be applied in a non-destructive manner. This can be used to
replace inconsistent or unreadable names by something more
meaningful. Among programmers, this process is known as "The Great
Renaming".
FEATURES
- Stores less/more readable copy in a different directory
- Supports C, C++ and Java
- New names since last run are easy to see
- Names can easily be declared to be modified or left untouched;
for example, it makes no sense to replace printf().
- Words being part of comments or string constants are not replaced
- Fast, as internally names are stored in an AVL-tree
NEW FEATURES
- Maintains a second dictionary with names to be ignored
- Includes some dictionaries with common names to be ignored
- Supports "The Great Renaming"
- Added some options to back-trace problems in vahunzed code
- Several small fixes and improvements
SPECIAL REQUIREMENTS
AmigaOS 2.04, 2MB of regular memory, 68020
AVAILABILITY
- Every Aminet-mirror, file "dev/misc/vahunz.lha", for example:
ftp://wuarchive.wustl.edu/pub/aminet/dev/misc/vahunz.lha
- http://www.giga.or.at/~agi/vahunz/
PRICE
Freeware.
DISTRIBUTABILITY
Freely distributable as long the conditions described in the manual
are met.
EXAMPLE
For example,you could have a code excerpt like this:
int main(void)
{
while (sepp_age < 83)
{
grow_older(sepp_name, &sepp_age);
print_sepp();
}
printf("\n%s died.\n", sepp_name);
exit(EXIT_SUCCESS);
}
After vahunzing, this is what it might look like:
int main(void)
{
while (g8b < 83)
{
z3v(v63, &g8b);
f_v();
}
printf("\n%s died.\n", v63);
exit(EXIT_SUCCESS);
}
As you can see, the internal names have been garbled, but the
symbols of the standard library are preserved.